<?php echo validation_errors(); ?>
<?php echo form_open('storemanager/edit/'.$id,'',array('id'=>$id))?>

<fieldset>
        <legend>Album</legend>

        <div class="editor-label">
            <label>Genre</label>
        </div>
        <div class="editor-field">
        	<?php echo form_dropdown('genre',$genre,$albumEdit->Genre)?>
        </div>
        <div class="editor-label">
            <label>Artist</label>
        </div>
        <div class="editor-field">
        	<?php echo form_dropdown('artist',$artist,$albumEdit->Artist)?>
        </div>
        <div class="editor-label">
            <label>Title</label>
        </div>
        <div class="editor-field">
            <?php echo form_input('title',$albumEdit->Title)?>
            <?php echo form_error('title','<span class="field-validation-error">','</span>');?>
        </div>
        <div class="editor-label">
            <label>Price</label>
        </div>
        <div class="editor-field">
            <?php echo form_input('price',$albumEdit->Price)?>
            <?php echo form_error('price','<span class="field-validation-error">','</span>');?>
        </div>
        <div class="editor-label">
            <label>Album Art Url</label>
        </div>
        <div class="editor-field">
            <?php echo form_input('albumArtUrl',$albumEdit->AlbumArtUrl)?>
            <?php echo form_error('albumArtUrl','<span class="field-validation-error">','</span>');?>
        </div>
        <p>
            <input type="submit" value="Save" />
        </p>
</fieldset>
<?php echo form_close()?>